package com.tocici.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 评论对象 comment
 *
 * @author zeratul
 * @date 2025-03-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("comment")
public class Comment extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableId(value = "comment_id")
    private Long commentId;

    /**
     * 
     */
    private Long musicId;

    /**
     * 父id;评论的父id，为0表示顶级评论
     */
    private Long parentId;

    /**
     * 需要用户表存在
     */
    private Long userId;

    /**
     * 
     */
    private String content;

    /**
     * 
     */
    private Integer isDeleted;


}
